package com.cenxi.common.result;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author cenxi
 * @Date 2023/8/16 14:38
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Req<T> {

    private T data;

    public static <T> Req<T> create() {
        return Req.<T>builder().build();
    }
}
